package com.ruandi.test13;

public class Architect extends Designer {
    //属性
    private int guPiao=100;

    //构造参数
    public Architect() {
    }
    public Architect(String num, String name, int age, int salary, String language, int money, int guPiao) {
        super(num, name, age, salary, language, money);
        this.guPiao = guPiao;
    }

    public Architect(double id, String name, int age, double salary, double bonus, int stock) {
    }

    //方法
    @Override
    public boolean getInfo(){
        System.out.println("编号："+getNum()+"，姓名："+getName()+"，年龄："+getAge()+"，薪资："+getSalary()+"，编程语言："+super.getLanguage()+"，奖金："+super.getMoney()+"，持有股票数量："+guPiao);
        return false;
    }
    //getter and setter

    public int getGuPiao() {
        return guPiao;
    }

    public void setGuPiao(int guPiao) {
        this.guPiao = guPiao;
    }
}
